package com.likl.controller.utils;

import lombok.Data;

/**
 * ClassName:springboot_study
 * Description:
 *
 * @Create: 2024/7/2 15:07
 * @author: likl
 * @e-mail: likl1102@foxmail.com
 * @QQ: 2514927731
 */
@Data
public class R {
    private Boolean flag;
    private Object data;

    private String msg;

    public R() {
    }

    public R(Boolean flag) {
        this.flag = flag;
    }

    public R(Boolean flag, Object data) {
        this.flag = flag;
        this.data = data;
    }

    public R(String msg) {
        this.flag = false;
        this.msg = msg;
    }
}
